Migrating from RetrievalQA
LCELへ移行
For both versions, we'll need to load the data with the WebBaseLoader document loader, split it with RecursiveCharacterTextSplitter, and add it to an in-memory FAISS vector store.
プロンプト
2つのヘルパー
the higher-level create_retrieval_chain and create_stuff_documents_chain helper method
inputを入れると、answerだけでなくcontextも含んで返ってくるようになる。どうやっている?(実装見たい)